Optimal. Leaf size=38 \[ -3 (1-x)^{4/3}+\frac {12}{7} (1-x)^{7/3}-\frac {3}{10} (1-x)^{10/3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {45}
\begin {gather*} -\frac {3}{10} (1-x)^{10/3}+\frac {12}{7} (1-x)^{7/3}-3 (1-x)^{4/3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \sqrt [3]{1-x} (1+x)^2 \, dx &=\int \left (4 \sqrt [3]{1-x}-4 (1-x)^{4/3}+(1-x)^{7/3}\right ) \, dx\\ &=-3 (1-x)^{4/3}+\frac {12}{7} (1-x)^{7/3}-\frac {3}{10} (1-x)^{10/3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 23, normalized size = 0.61 \begin {gather*} -\frac {3}{70} (1-x)^{4/3} \left (37+26 x+7 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.17, size = 29, normalized size = 0.76
method | result | size |
gosper | \(-\frac {3 \left (7 x^{2}+26 x +37\right ) \left (1-x \right )^{\frac {4}{3}}}{70}\) | \(20\) |
trager | \(\left (\frac {3}{10} x^{3}+\frac {57}{70} x^{2}+\frac {33}{70} x -\frac {111}{70}\right ) \left (1-x \right )^{\frac {1}{3}}\) | \(24\) |
risch | \(-\frac {3 \left (7 x^{3}+19 x^{2}+11 x -37\right ) \left (-1+x \right )}{70 \left (1-x \right )^{\frac {2}{3}}}\) | \(28\) |
derivativedivides | \(-3 \left (1-x \right )^{\frac {4}{3}}+\frac {12 \left (1-x \right )^{\frac {7}{3}}}{7}-\frac {3 \left (1-x \right )^{\frac {10}{3}}}{10}\) | \(29\) |
default | \(-3 \left (1-x \right )^{\frac {4}{3}}+\frac {12 \left (1-x \right )^{\frac {7}{3}}}{7}-\frac {3 \left (1-x \right )^{\frac {10}{3}}}{10}\) | \(29\) |
meijerg | \(x \hypergeom \left (\left [-\frac {1}{3}, 1\right ], \left [2\right ], x\right )+x^{2} \hypergeom \left (\left [-\frac {1}{3}, 2\right ], \left [3\right ], x\right )+\frac {x^{3} \hypergeom \left (\left [-\frac {1}{3}, 3\right ], \left [4\right ], x\right )}{3}\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 28, normalized size = 0.74 \begin {gather*} -\frac {3}{10} \, {\left (-x + 1\right )}^{\frac {10}{3}} + \frac {12}{7} \, {\left (-x + 1\right )}^{\frac {7}{3}} - 3 \, {\left (-x + 1\right )}^{\frac {4}{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.71, size = 24, normalized size = 0.63 \begin {gather*} \frac {3}{70} \, {\left (7 \, x^{3} + 19 \, x^{2} + 11 \, x - 37\right )} {\left (-x + 1\right )}^{\frac {1}{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.69, size = 144, normalized size = 3.79 \begin {gather*} \begin {cases} - \frac {3 \sqrt [3]{x - 1} \left (x + 1\right )^{3} e^{- \frac {2 i \pi }{3}}}{10} + \frac {3 \sqrt [3]{x - 1} \left (x + 1\right )^{2} e^{- \frac {2 i \pi }{3}}}{35} + \frac {9 \sqrt [3]{x - 1} \left (x + 1\right ) e^{- \frac {2 i \pi }{3}}}{35} + \frac {54 \sqrt [3]{x - 1} e^{- \frac {2 i \pi }{3}}}{35} & \text {for}\: \left |{x + 1}\right | > 2 \\\frac {3 \sqrt [3]{1 - x} \left (x + 1\right )^{3}}{10} - \frac {3 \sqrt [3]{1 - x} \left (x + 1\right )^{2}}{35} - \frac {9 \sqrt [3]{1 - x} \left (x + 1\right )}{35} - \frac {54 \sqrt [3]{1 - x}}{35} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.84, size = 38, normalized size = 1.00 \begin {gather*} \frac {3}{10} \, {\left (x - 1\right )}^{3} {\left (-x + 1\right )}^{\frac {1}{3}} + \frac {12}{7} \, {\left (x - 1\right )}^{2} {\left (-x + 1\right )}^{\frac {1}{3}} - 3 \, {\left (-x + 1\right )}^{\frac {4}{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 21, normalized size = 0.55 \begin {gather*} -\frac {3\,{\left (1-x\right )}^{4/3}\,\left (40\,x+7\,{\left (x-1\right )}^2+30\right )}{70} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________